Remove pointless cast
authorMatthias Clasen <matthiasc@src.gnome.org>
Tue, 3 Jan 2006 13:50:59 +0000 (13:50 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 3 Jan 2006 13:50:59 +0000 (13:50 +0000)
gtk/gtkdnd.c

index e29e270e9426f7546bae9be5a41d89778835335a..c2a79ac758988b6f312f4f4054d91aca0be31a5e 100644 (file)
@@ -2221,7 +2221,7 @@ gtk_drag_begin_internal (GtkWidget         *widget,
   if (event && event->type == GDK_MOTION_NOTIFY)
     gtk_drag_motion_cb (info->ipc_widget, (GdkEventMotion *)event, info);
   else
-    gtk_drag_update (info, info->screen, info->cur_x, info->cur_y, (GdkEvent *)event);
+    gtk_drag_update (info, info->screen, info->cur_x, info->cur_y, event);
 
   info->start_x = info->cur_x;
   info->start_y = info->cur_y;